package com.baitai.system.domain;

import com.baitai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baitai.common.annotation.Excel;

/**
 * 版本管理对象 sys_version
 * 
 * @author xx
 * @date 2024-07-15
 */
public class SysVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 安卓下载地址 */
    @Excel(name = "安卓下载地址")
    private String androidUrl;

    /** ios下载地址 */
    @Excel(name = "ios下载地址")
    private String iosUrl;

    /** 安卓版本 */
    @Excel(name = "安卓版本")
    private String androidVersion;

    /** ios版本 */
    @Excel(name = "ios版本")
    private String iosVersion;

    /** 是否强制升级 */
    @Excel(name = "是否强制升级")
    private String isForce;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAndroidUrl(String androidUrl) 
    {
        this.androidUrl = androidUrl;
    }

    public String getAndroidUrl() 
    {
        return androidUrl;
    }
    public void setIosUrl(String iosUrl) 
    {
        this.iosUrl = iosUrl;
    }

    public String getIosUrl() 
    {
        return iosUrl;
    }
    public void setAndroidVersion(String androidVersion) 
    {
        this.androidVersion = androidVersion;
    }

    public String getAndroidVersion() 
    {
        return androidVersion;
    }
    public void setIosVersion(String iosVersion) 
    {
        this.iosVersion = iosVersion;
    }

    public String getIosVersion() 
    {
        return iosVersion;
    }
    public void setIsForce(String isForce) 
    {
        this.isForce = isForce;
    }

    public String getIsForce() 
    {
        return isForce;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("androidUrl", getAndroidUrl())
            .append("iosUrl", getIosUrl())
            .append("androidVersion", getAndroidVersion())
            .append("iosVersion", getIosVersion())
            .append("isForce", getIsForce())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
